From: Soren Brinkmann Date: Thu, 19 May 2016 14:20:14 +0000 (-0700) Subject: zynqmp: PSCI: Wait for FW completing wake requests X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=e3f0391e855bd8a8cdfa25985caed7ef2b8666a7;p=project%2Fbcm63xx%2Fatf.git zynqmp: PSCI: Wait for FW completing wake requests Powering up cores didn't wait for the PMUFW to complete the request, which could result in cores failing to power up in Linux. Reported-by: Koteswararao Nayudu Signed-off-by: Soren Brinkmann --- diff --git a/plat/xilinx/zynqmp/plat_psci.c b/plat/xilinx/zynqmp/plat_psci.c index d693a2db..56eb742a 100644 --- a/plat/xilinx/zynqmp/plat_psci.c +++ b/plat/xilinx/zynqmp/plat_psci.c @@ -104,7 +104,7 @@ static int zynqmp_pwr_domain_on(u_register_t mpidr) proc = pm_get_proc(cpu_id); /* Send request to PMU to wake up selected APU CPU core */ - pm_req_wakeup(proc->node_id, 1, zynqmp_sec_entry, REQ_ACK_NO); + pm_req_wakeup(proc->node_id, 1, zynqmp_sec_entry, REQ_ACK_BLOCKING); return PSCI_E_SUCCESS; }